package com.ruicar.afs.cloud.image.enums;

/**
 * @Description:
 * @Author: fangchenliang
 * @Date: 2020/6/1 21:01
 */
public enum ResultCodeEnum {

    /**
     * 成功
     **/
    SUCCESS(1, "成功"),
    /**
     * 失败
     **/
    Failed(0, "失败");

    ResultCodeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    private int code;
    private String desc;

    public int getCode() {
        return code;
    }
}
